module.exports = function(req, res, next){
	if (!req.cookies.recc || req.cookies.recc == '' || req.cookies.recc == null) {
		req.infos = ''
		return next()
	} else {
		req.users.findById(req.cookies.recc, function(err, result){
			req.infos = result
			return next()
		})
	}	
}